package com.qk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.dto.BusinessDto;
import com.qk.entity.Business;
import com.qk.vo.OverviewVO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    //查询列表商机
    Page<Business> listBusiness(Page<Business> businessPage, BusinessDto businessDto);
    //4. 根据ID查询商机
    Business getBusinessById(Integer id);
    //首页数据概览
    OverviewVO getBusinessOverview();
    //8. 公海池列表查询
    Page<Business> listPools(Page<Business> businessPage, BusinessDto businessDto);
}
